package cn.tedu.rms.dish.mapper;

import cn.tedu.rms.dish.pojo.dto.DishQuery;
import cn.tedu.rms.dish.pojo.entity.Dish;
import cn.tedu.rms.dish.pojo.vo.DishVODetail;
import cn.tedu.rms.dish.pojo.vo.DishVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DishMapper {
    List<DishVo> selectDish(DishQuery dishQuery);

    void insert(Dish dish);

    void update(Dish dish);

    void deleteById(Long id);
    DishVODetail selectDishDetailById(Long id);
}
